package org.example.demo17_responsibility;

public class ViceManger extends Handler {
    public ViceManger() {
        super(Handler.NUM_FIVE,Handler.NUM_TEN);
    }
    @Override
    protected void handlerRequest(PurchaseOrder purchaseOrder) {
        System.out.println(purchaseOrder.getName() + "采购" + purchaseOrder.getContent() + "价钱："
                + purchaseOrder.getPrice() + "元");
        System.out.println("副总经理审批同意");
    }
}
